namespace ScrumSprintMonitor.ServerAdapter.TFS
{
	#region #using Directives

	using System.ComponentModel.Composition;

	using Infrastructure;

	using Ninject.Core;

	#endregion

	[Export(typeof(IModule))]
	internal class NinjectModule : StandardModule
	{
		/// <summary>
		/// Loads the module into the kernel.
		/// </summary>
		public override void Load()
		{
			Bind<IConnection>().To<TfsConnection>();
			Bind<IBuildInfo>().To<TfsBuildInfo>();
			Bind<IWorkItemStore>().To<TfsWorkItemStore>();
		}
	}
}